It seems that in .yarnrc it's already specified python3:
raphy@pc:~$ cat .yarnrc
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1
lastUpdateCheck 1621939722433
python3 "/usr/bin/python3"
raphy@pc:~$
At the end of .bashrc file I've added: alias python=python3
and then raphy@pc:~$ source ~/.bashrc
I then tried to yarn add sqlite3 but the problem persists:
[email protected]" has unmet peer dependency "request@^2.34".
warning "@postlight/mercury-parser > request-promise > [email protected]" has unmet peer dependency "request@^2.34".
warning "@recogito/annotorious > @recogito/recogito-client-core > [email protected]" has incorrect peer dependency "react@^0.14.0 || ^15.0.0 || ^16.0.0".
warning "@recogito/annotorious > @recogito/recogito-client-core > [email protected]" has incorrect peer dependency "react-dom@^0.14.0 || ^15.0.0 || ^16.0.0".
warning "mui-datatables > [email protected]" has incorrect peer dependency "react@^16.3.0".
warning "mui-datatables > [email protected]" has incorrect peer dependency "react-dnd@^7.3.0".
warning "mui-datatables > [email protected]" has incorrect peer dependency "react-dom@^16.3.0".
warning "mui-datatables > react-sortable-tree > [email protected]" has incorrect peer dependency "react-dnd@^7.3.0".
warning "mui-datatables > react-sortable-tree > [email protected]" has incorrect peer dependency "react@^15.3.0 || ^16.0.0-alpha".
warning "mui-datatables > react-sortable-tree > [email protected]" has incorrect peer dependency "react-dom@^15.3.0 || ^16.0.0-alpha".
warning " > [email protected]" has unmet peer dependency "worker-loader@^3.0.7".
warning " > [email protected]" has unmet peer dependency "react-is@>= 16.8.0".
warning " > [email protected]" has unmet peer dependency "eslint@^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0".
warning "ipfs > ipfs-cli > [email protected]" has unmet peer dependency "electron-webrtc@^0.3.0".
warning "ipfs > ipfs-cli > [email protected]" has unmet peer dependency "wrtc@^0.4.6".
[4/4] Building fresh packages...
success Saved lockfile.
success Saved 3 new dependencies.
info Direct dependencies
└─ [email protected]
info All dependencies
├─ [email protected]
├─ [email protected]
└─ [email protected]
$ yarn electron-rebuild
yarn run v1.22.10
$ /home/raphy/Raphy-Template/node_modules/.bin/electron-rebuild
⠇ Building module: canvas, Completed: 0gyp info find Python using Python version 3.8.5 found at "/usr/bin/python3"
⠏ Building module: leveldown, Completed: 1gyp info spawn /usr/bin/python3
gyp info spawn args [
gyp info spawn args '/home/raphy/Raphy-Template/node_modules/electron-rebuild/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/home/raphy/Raphy-Template/node_modules/leveldown/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/raphy/Raphy-Template/node_modules/electron-rebuild/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/raphy/.electron-gyp/12.0.9/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/home/raphy/.electron-gyp/12.0.9',
gyp info spawn args '-Dnode_gyp_dir=/home/raphy/Raphy-Template/node_modules/electron-rebuild/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/home/raphy/.electron-gyp/12.0.9/ |